package com.hoshiicloud.as2c.minipro.param;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.EqualsAndHashCode;

import java.time.LocalDateTime;

/**
 * @author yangcheng
 * @version 1.0
 * @title: ExtSpuQueryParam
 * @description: 查询扩展SPU参数
 * @date 2019/6/5 10:46
 * @mail maiboyc@163.com
 */
@Data
@EqualsAndHashCode(callSuper = false)
@ApiModel
public class ExtSpuQueryParam {

    // 条数
    @ApiModelProperty(value = "条数", example = "5")
    private String pageSize = "5";

    // 当前页
    @ApiModelProperty(value = "当前页", example = "1")
    private String pageNumber = "1";

    // spuId
    @ApiModelProperty(value = "spu id")
    private String spuid;

    // 商品视频
    @ApiModelProperty(value = "商品视频")
    private String spuVideo;

    // 图文描述
    @ApiModelProperty(value = "图文描述")
    private String spuDescription;

    // 商品标题
    @ApiModelProperty(value = "商品标题")
    private String title;

    // 商品主图
    @ApiModelProperty(value = "商品主图")
    private String spuImage;

    // 是否开票
    @ApiModelProperty(value = "是否开票")
    private Integer isInvoice;

    // 售后说明
    @ApiModelProperty(value = "售后说明")
    private String serviceDescription;

    // 属性
    @ApiModelProperty(value = "属性")
    private String extendProperty;

    // 规格
    @ApiModelProperty(value = "规格")
    private String extendSpec;

    // 购买须知
    @ApiModelProperty(value = "购买须知")
    private String notice;

    // 上架时间
    @ApiModelProperty(value = "上架时间")
    private LocalDateTime uptime;

    // 下架时间
    @ApiModelProperty(value = "下架时间")
    private LocalDateTime downtime;

    // 修改人
    @ApiModelProperty(value = "修改人")
    private String updatedby;

    // 状态  0-档案 1-已审批 2-下架
    @ApiModelProperty(value = "状态  0-档案 1-已审批 2-下架")
    private Integer status;

    // 是否删除
    @ApiModelProperty(value = "是否删除")
    private Integer deleted;

    // companyid、platformid、storeId、categoryId是为了联合查询而增加（add by yangcheng）
    @ApiModelProperty(value = "租户ID")
    private Long companyid;

    @ApiModelProperty(value = "平台ID")
    private Long platformid;

    @ApiModelProperty(value = "店铺ID")
    private Long storeId;

    @ApiModelProperty(value = "类目ID")
    private Long categoryId;

}
